﻿
using MediatR;

namespace ORS.OrderRobot.Service;
/// <summary>
/// 订购商品事件
/// </summary>
/// <param name="ProductId">商品id</param>
/// <param name="productName">商品名</param>
/// <param name="excludeEmail">需要过滤掉的用户,null表示不过滤</param>
public record PurchaseEvent(string ProductId,string productName, string[]? excludeEmail = null) : INotification;

